using Avalonia;

namespace Avalonia.WebView.Linux;

public static class AppBuilderExtensions
{
    public static AppBuilder UseLinuxWebView(this AppBuilder builder)
    {
        return builder.AfterPlatformServicesSetup(_ =>
        {
            WebViewBackendProvider.Register<WebKitBackendProvider>();
        });
    }
}
